package com.quwan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;
import lombok.experimental.Accessors;

/**
*
*
* @author quan
* @date 2021-08-03 17:06
*/
 

@Data
@Accessors(chain =  true)
@TableName(value = "t_admin")
public class TAdmin {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField(value = "add_time")
    private LocalDateTime addTime;

    @TableField(value = "name")
    private String name;
    @TableField(value = "login_name")
    private String loginName;

    @TableField(value = "mobile")
    private String mobile;

    @TableField(value = "status")
    private Integer status;

    @TableField(value = "remarks")
    private String remarks;

    @TableField(value = "password")
    private String password;

    @TableField(value = "salt")
    private String salt;

    @TableField(value = "role_id")
    private Integer roleId;

    @TableField(value = "add_by")
    private String addBy;
}